/*
 * @Author: lihaonan
 * @Date: 2024-06-24 15:05:25
 * @LastEditors: lihaonan
 * @LastEditTime: 2024-06-27 16:43:04
 * @Description: 消息
 */
const BASE_URL_EXCEPTION = "/app";
import http from "@/utils/http";

// 动态列表
export const getMessageList = (params:{}) => {
    return http.get(`${BASE_URL_EXCEPTION}/message/turn`,params);
};
// 获取未读消息（轮询）
export const getMessagePolling = () => {
    return http.get(`${BASE_URL_EXCEPTION}/polling?type=MESSAGE`);
};
